counting algorithm

join shbcf.ru